package com.noahplat.user.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * 权限菜单栏中间表
 * @author 李东
 * @version 1.0.0
 * @Date: 2021/2/24 15:57
 **/

@Data
@Table(name = "tb_role_menu")
public class RoleMenu {
    @Id
    private Long acctid; // 账套ID

    @NotNull(message = "参数不能为null")
    private Long rid; // 角色Id

    @NotNull(message = "参数不能为null")
    private Long mid; // 菜单Id
}
